//
//  SettingsModel.swift
//  MIFI
//
//  Created by 金嗓子卡卡 on 2019/4/18.
//  Copyright © 2019 NJMifi. All rights reserved.
//

import Foundation

struct LoginResult : Codable {
    let result : String
}

struct DeviceInfoVCInfo : Codable {
    let authMode : String?
    let encrypType : String?
    let hideSSID : String?
    let localDomain : String?
    let mAXAccessNum : String?
    let radioOff : String?
    let sSID1 : String?
    let wPAPSK1Encode : String?
    let wPSSSID : String?
    let dialMode : String?
    let hardwareVersion : String?
    let imei : String?
    let lanIpaddr : String?
    let mHideSSID : String?
    let mMAXAccessNum : String?
    let mSSID : String?
    let mSsidEnable : String?
    let macAddress : String?
    let msisdn : String?
    let pdpType : String?
    let pppStatus : String?
    let roamSettingOption : String?
    let securityMode : String?
    let simImsi : String?
    let sysIdleTimeToSleep : String?
    let waInnerVersion : String?
    let wanIpaddr : String?
    let webVersion : String?
    let wifiCoverage : String?
    let wpsMode : String?
    let Sleep_interval : String?
    
    enum CodingKeys: String, CodingKey {
        case authMode = "AuthMode"
        case encrypType = "EncrypType"
        case hideSSID = "HideSSID"
        case localDomain = "LocalDomain"
        case mAXAccessNum = "MAX_Access_num"
        case radioOff = "RadioOff"
        case sSID1 = "SSID1"
        case wPAPSK1Encode = "WPAPSK1_encode"
        case wPSSSID = "WPS_SSID"
        case dialMode = "dial_mode"
        case hardwareVersion = "hardware_version"
        case imei = "imei"
        case lanIpaddr = "lan_ipaddr"
        case mHideSSID = "m_HideSSID"
        case mMAXAccessNum = "m_MAX_Access_num"
        case mSSID = "m_SSID"
        case mSsidEnable = "m_ssid_enable"
        case macAddress = "mac_address"
        case msisdn = "msisdn"
        case pdpType = "pdp_type"
        case pppStatus = "ppp_status"
        case roamSettingOption = "roam_setting_option"
        case securityMode = "security_mode"
        case simImsi = "sim_imsi"
        case sysIdleTimeToSleep = "sysIdleTimeToSleep"
        case waInnerVersion = "wa_inner_version"
        case wanIpaddr = "wan_ipaddr"
        case webVersion = "web_version"
        case wifiCoverage = "wifi_coverage"
        case wpsMode = "wps_mode"
        case Sleep_interval = "Sleep_interval"
    }

}

struct MacAddressListModel : Codable {
    let wifi_mac_black_list : String?
    let wifi_mac_white_list : String?
    let ACL_mode : String?
}

struct NetModeModel : Codable {
    let net_select : String?
}
